<?php
ob_start();
session_start();
include_once 'php/postgre.php';
?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>SPM | Standart Pelayanan Minimal</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="Sistem Informasi Standart Pelayanan Minimal">
        <meta name="author" content="">

		<link href="assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
		<link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
		<link href="css/style.css" rel="stylesheet" />
		<link href="css/skp.css" rel="stylesheet" />
		<link href="css/style_responsive.css" rel="stylesheet" />
		<link href="css/style_default.css" rel="stylesheet" id="style_color" />
    </head>
    <body>

        <div id="good-content" class="container-fluid home-width">
            <div class="row-fluid" style="margin-top:40px;">
                <div class="span7">
                    <div style="float:left; display: inline;"><img src="img/lambang.png" style="height:50px; margin-top:-8px"></img></div>
                    <div style="float:left; margin-left:5px; font-size:1.9em; margin-top:0px; font-weight:bold">PEMERINTAH KABUPATEN PAYAKUMBU</div> 
                    <div style="float:left; margin-left:5px; font-size:1em; margin-top:3px; color:blue;">Sistem Informasi Standart Pelayanan Minimal</div>
                </div>
                <div class="span5">
                    <div class="btn-group pull-right" style="margin-top:0px" id="toprightmenu">
                        <input type="button" class="btn btn-primary bt-home active" name="home.php" value="Home">
                        <input type="button" class="btn btn-primary bt-home" name="profil.php" value="Profil">
                        <input type="button" class="btn btn-primary bt-home" name="info.php" value="Informasi">
                        <input type="button" class="btn btn-primary bt-home bt-login" name="login.php" value="Login">
                    </div>
                </div>
            </div>
			<hr>
            <noscript>
            <div class="alert alert-block span12">
                <h4 class="alert-heading">Warning!</h4>
                <p>You need to have JavaScript enabled to use this site.</p>
            </div>
            </noscript>

            <div id="content" class="row-fluid">
            </div>
        </div>
		<div id="footer">
			Copyright 2013 &copy; Pemerintah Kabupaten Payakumbu
		</div>
        <br/>
        <div class="footerbox" style="background-color:#fff;">
            <marquee>
			
            </marquee>
        </div>

        <script src="js/jquery-1.8.3.min.js"></script>
        <script src="js/bootstrap.min.js"></script>
        <script>
            $('.bt-home').click(function(x){
                var btn = $(this);
                btn.parent().children('.btn').removeClass('active');
                btn.addClass('active');
			
                var url ='home/'+this.name;
                var get = $.get(url);
                get.done(function(data){
                    $('#content').html(data);
                });
            });
        </script>
    </body>
</html>